home *** CD-ROM | disk | FTP | other *** search
-
-
-
- GETPAGESIZE(3) MINTLIB LIBRARY FUNCTIONS GETPAGESIZE(3)
-
-
- N✓NA✓AM✓ME✓E
- getpagesize - get system default page size
-
- S✓SY✓YN✓NO✓OP✓PS✓SI✓IS✓S
- #include <unistd.h>
-
- int getpagesize(void);
-
- D✓DE✓ES✓SC✓CR✓RI✓IP✓PT✓TI✓IO✓ON✓N
- This function returns the default page size as used by the
- system. This may be of interest to programs that (partly)
- want to manage their memory allocation/deallocation.
-
- R✓RE✓ET✓TU✓UR✓RN✓N V✓VA✓AL✓LU✓UE✓ES✓S
- Under TOS or MiNT earlier than 0.9, 1024 is always
- returned. Using MiNT 0.9 or later, the default page size
- is returned. Currenly, pagesize is 8192 (the largest page
- size allowed by the MC68040 processor).
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- MiNT docs 0.1 3 March 1993 1
-
-
-